-- GENERATED SPELL FOR [Ruby Watcher] --


function spell0_27542(pUnit, Event) --@Ruby Blast,n/a--
pUnit:FullCastSpellOnTarget(49241,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27542', 3000, 1)
end

function Sorts_27542(pUnit, Event)
local choix_sorts_27542 = math.random(0, 0)
if choix_sorts_27542 == 0 then
pUnit:RegisterEvent('spell0_27542', 1, 1)
end
end

function mob27542_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27542', math.random(1500, 3000), 1)
end

function mob27542_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27542_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27542_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27542, 1, 'mob27542_Action')
RegisterUnitEvent(27542, 2, 'mob27542_Leave')
RegisterUnitEvent(27542, 3, 'mob27542_Kill')
RegisterUnitEvent(27542, 4, 'mob27542_Die')
